package com.entity;

import java.sql.Date;

/*
 *
 *@author XCH
 *@date2024 - 11 - 26
 *
 */
public class Product {
    private String id;
    private String name;
    private String type;
    private double price;
    private int count;
    private String image;
    private Date date;
    private String desc;
    private int sale;
    private int status;

    public Product() {
    }

    public Product(String id, String name, String type, double price, int count, String image, Date date, String desc, int sale, int status) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.price = price;
        this.count = count;
        this.image = image;
        this.date = date;
        this.desc = desc;
        this.sale = sale;
        this.status = status;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getSale() {
        return sale;
    }

    public void setSale(int sale) {
        this.sale = sale;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}

